/*
 * @Description: 接口
 * @Author: charles
 * @Date: 2021-11-19 11:59:28
 * @LastEditors: charles
 * @LastEditTime: 2021-11-19 12:06:50
 */
var Student = /** @class */ (function () {
    function Student(id, name, age) {
        this.id = id;
        this.name = name;
        this.age = age;
    }
    return Student;
}());
var StudentServiceImpl = /** @class */ (function () {
    function StudentServiceImpl() {
    }
    StudentServiceImpl.prototype.pageQuery = function (page, pageSize) {
        var s1 = new Student(1, 'terry', 12);
        var s2 = new Student(2, 'jacky', 12);
        return new Array(s1, s2);
    };
    StudentServiceImpl.prototype.queryById = function (id) {
        var s1 = new Student(id, 'terry', 12);
        return s1;
    };
    StudentServiceImpl.prototype.save = function (student) {
        return '保存成功';
    };
    StudentServiceImpl.prototype.foo = function () {
    };
    return StudentServiceImpl;
}());
var ss = new StudentServiceImpl();
var result = ss.pageQuery(1, 10);
console.log(result);
